package wlf.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.apache.catalina.Role;
import org.springframework.stereotype.Service;

import wlf.mapper.PermissionMapper;
import wlf.pojo.Admin;
import wlf.pojo.Permission;
import wlf.service.PermissionService;

@Service
public class PermissionServiceImpl implements PermissionService {
	@Resource
	private PermissionMapper permissionMapper;
	
	@Override
	public List<Permission> selPermissionByAdmin(Admin admin) {
		return permissionMapper.selPermissionByAdmin(admin);
	}
	
}
